export default [
  {
    icon: 'home',
    name: '首页',
    key: '/dashboard',
    path: '/dashboard',
  },
  {
    icon: 'setting',
    name: '设置',
    key: '/setting',
    children: [
      {
        name: '基础设置',
        key: '/setting/set',
        parent: ['/setting'],
        children: [
          {
            name: '所属部门',
            key: '/department',
            path: '/department',
            parent: ['/setting', '/setting/set'],
          },
          {
            name: '员工类型',
            key: '/employeeType',
            path: '/employeeType',
            parent: ['/setting', '/setting/set'],
          },
        ],

      },

      {
        name: '权限设置',
        key: '/setting/authorConf',
        parent: ['/setting'],
        children: [
          // {
          //   name: '用户',
          //   key: '/admin',
          //   path: '/admin',
          //   parent: ['/setting', '/setting/authorConf'],
          // },
          {
            name: '角色',
            key: '/role',
            path: '/role',
            parent: ['/setting', '/setting/authorConf'],
          },
        ],
      },
    ],
  },
];
